import os
basedir = os.path.abspath(os.path.dirname(__file__))

class Config():
    SECRET_KEY = "634165e29b2867147a856b1fdbfd69aca5c396de"
    SQLALCHEMY_DATABASE_URI = "sqlite:///" + os.path.join(basedir, 'data-dev.sqlite')
    SQLALCHEMY_TRACK_MODIFICATIONS = True
    SQLALCHEMY_COMMIT_ON_TEARDOWN = True
    SQLALCHEMY_ECHO = True
    DEBUG=True
    WHOOSH_BASE=os.path.join(basedir, "serach.db")
    GAODE_KEY = "0cac555a3a2da775a7e969ddf4f5f53d"
    QINIU_AK = "D2HoWxWkb2MHhZVO5J5902DyeGNA05csQJOomlg0"
    QINIU_SK = "TmrvwiSTzBO9snZ2dg8JOYuCQA19IetyN-gZpZT8"
    BUCKET_NAME = "keeper"
    QINIU_URL = "https://images.salesgj.com/"

    @staticmethod
    def init_app(app):
        pass

